/*
 * @Descripttion:
 * @version:
 * @Author: WangMingJun
 * @Date: 2021-10-07 12:09:43
 * @LastEditors: WangMingJun
 * @LastEditTime: 2022-06-10 16:02:37
 */
let target = process.env.VUE_APP_BASEURL
module.exports = {
  publicPath: './',
  devServer: {
    open: true,
    proxy: {
      '/music': {
        target: 'https://music.cyrilstudio.top/',
        changeOrigin: true,
        pathRewrite: {
          '/music': '/',
        },
      },
      '/api': {
        target,
        changeOrigin: true,
        pathRewrite: {
          '/api': '/api',
        },
      },
    },
  },
}
